import './ParentPage.scss'
import { Outlet,Link } from 'react-router-dom'

export default function ParentPage() {
    return (
        <div className='ParentPage'>
            <nav className='parent-nav'>
                <h1 className='parent-logo'>
                    <span className='nav-liner-text'>讯飞</span>
                    教育
                </h1>
                <ul className='parent-links'>
                    <li className='parent-course-link'><Link to={'/parent'}>我的孩子</Link></li>
                    <li className='parent-info-link'><Link to={'/parent/myinfo'}>我的信息</Link></li>
                </ul>
            </nav>
            <Outlet />
        </div>
    )
}